
package com.ffcs.crmd.tsp.admin.api.facade;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.platform.core.ddd.api.facade.IDomBaseFacade;
import com.ffcs.crmd.tsp.admin.api.dto.SliceDTO;

public interface ISliceFacade extends IDomBaseFacade {

	public void save(SliceDTO sliceDto) throws Exception;
    
    public void remove(SliceDTO sliceDto) throws Exception;
    
    public void remove(List<SliceDTO> sliceDtos) throws Exception; 
    
    public void update(SliceDTO sliceDto) throws Exception;
    
    /**
     * 
     * 功能说明:
     * 
     * @param clusterName
     * @param sliceGroupId
     * @param skey
     * @return
     * @throws Exception
     */
    public List<SliceDTO> query(SliceDTO sliceDto) throws Exception;
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param sliceGroupId
     * @param skey
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<SliceDTO> queryPage(SliceDTO sliceDto) throws Exception;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param id
     * @return
     * @throws Exception
     */
    SliceDTO get(SliceDTO sliceDto) throws Exception;
}
